473,434 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

How do I create Toolbar Dropdown Button?

I'm writing an Addin for Outlook using C#. I am able to create the interface
to my Addin by adding Menus and Buttons to the Outlook Menu and Toolbar,
respectively.

I'd like to add one particular button to the Toolbar, but I'd like it to
function like a menu. Basically, like the native 'New' button which has a
small down arrow and drops down to show a list of items (e.g. Mail Message,
Contact, etc.) which can be created.

If you've got a small code snippet to create the button and then add one or
two sub-items, that would be most helpful.

Thanks!

- Joe Geretz -
May 2 '06 #1
1 4287
Outlook doesn't support creation of custom "split popup" buttons like that.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Joseph Geretz" <jg*****@nospam.com> wrote in message news:O7**************@TK2MSFTNGP02.phx.gbl...
I'm writing an Addin for Outlook using C#. I am able to create the interface
to my Addin by adding Menus and Buttons to the Outlook Menu and Toolbar,
respectively.

I'd like to add one particular button to the Toolbar, but I'd like it to
function like a menu. Basically, like the native 'New' button which has a
small down arrow and drops down to show a list of items (e.g. Mail Message,
Contact, etc.) which can be created.

If you've got a small code snippet to create the button and then add one or
two sub-items, that would be most helpful.

Thanks!

- Joe Geretz -

May 2 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: ChrisHerrick | last post by:
I'm having problems with my toolbar button text being truncated when I use EnableVisualStyles. Toolbar style is Flat, the button is a dropdown button and I'm setting the buttonsize on the toolbar...
1
by: Dino Buljubasic | last post by:
Hi, I have a toolbar with several buttons on it, one of which is set up to be as a DropDown button. I also have a context menu with menu items assigend to it so when I click that button, my...
2
by: Curtis | last post by:
I have a toolbar and, at run time, putting on a dropdown control and adding items. All is ok, but I don't know how to catch the click event. The items are there on the drop down. They are...
3
by: Meghezel | last post by:
I want to Make DropDownMenu for toolbar(just like Back or forward buttons of browser) takes its menuitems from Contextmenu filled with array of menuItems I could not handle the event of clicking...
3
by: Bob Quintal | last post by:
In access 2003, a toolbar has a dropdown to allow customizing. In the toolbar properties->options is a checkbox labelled Allow Customizing. Unchecking this doesn't prevent me from customizing the...
6
by: =?Utf-8?B?L2Rldi9udWxs?= | last post by:
Hello, i am using visual studio 2003 enterprise architect version. I am making apps for the .Net framework 1.1. While testing an interface, i discovered something strange. In this application...
0
by: Sky | last post by:
I have an Access 2003 front-end database with custom toolbars. The toolbars work fine. One annoying feature is that at the far right edge of each custom toolbar there a small dropdown arrow....
1
by: MaryamSh | last post by:
Hi, I am creating a Dynamic Search in my application. I create a user control and in Page_load event I create a dynamic dropdownlist and 2 dynamic button (Add,Remove) By pressing Add button...
0
by: MaryamSh | last post by:
Create Dynamic Dropdownlist Controls and related event -------------------------------------------------------------------------------- Hi, I am creating a Dynamic Search in my application. I...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.